package com.fanxj.Utils;

import java.util.List;

public class ImportResult {
    private boolean success;
    private String message;
    private List<ImportError> errors;

    public ImportResult(boolean success, String message) {
        this.success = success;
        this.message = message;
    }

    public ImportResult( boolean success , String message,List<ImportError> errors) {
        this.errors = errors;
        this.message = message;
        this.success = success;
    }

    public boolean isSuccess() {
        return success;
    }

    public String getMessage() {
        return message;
    }

    public List<ImportError> getErrors() {
        return errors;
    }
}
